package com.example.warehouse.sys.dao.persist.respository.impl;

import com.example.warehouse.sys.dao.persist.mapper.PermissionMapper;
import com.example.warehouse.sys.dao.persist.mapper.RoleMapper;
import com.example.warehouse.sys.dao.persist.respository.IPermissionRepository;
import com.example.warehouse.sys.pojo.vo.PermissionListItemVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Slf4j
@Repository
public class PermissionRepositoryImpl implements IPermissionRepository {
    public PermissionRepositoryImpl() {
        log.info("");
    }
    @Autowired
    private PermissionMapper permissionMapper;
    @Override
    public List<PermissionListItemVO> list() {

        return permissionMapper.list();
    }
}
